<?php
declare (strict_types = 1);

namespace app\api\controller;

use app\BaseController;
use app\model\Banner as BannerModel;

class Banner extends BaseController
{

    public function index()
    {

        return $this->success(BannerModel::where('status',1)->select());

    }



}
